import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { BookSource } from './source.entity';
import { SourceService } from './source.service';
import { SourceController } from './source.controller';
import { SourceParserService } from './source-parser.service';

@Module({
  imports: [TypeOrmModule.forFeature([BookSource])],
  providers: [SourceService, SourceParserService],
  controllers: [SourceController],
  exports: [SourceService, SourceParserService],
})
export class SourceModule {} 